function redirect() {
  window.location.href = "https://example.com"; // 替换为你要跳转的网址
}